@use '@angular/material' as mat;
// @import './theming';
$mat-theme-ignore-duplication-warnings: true;

$corporate-primary: mat.define-palette(mat.$indigo-palette);
$corporate-accent: mat.define-palette(mat.$amber-palette, A200, A100, A400);
$corporate-warn: mat.define-palette(mat.$deep-orange-palette);
$mat-theme-corporate: mat.define-light-theme(
  (
    color: (
      primary: $corporate-primary,
      accent: $corporate-accent
    ),
  )
);

// In case a theme object has been passed instead of a configuration for
// the color system, extract the color config from the theme object.
// $config: if(_mat-is-theme-object($mat-theme-corporate),
//     mat.get-color-config($mat-theme-corporate), $mat-theme-corporate);
// for Material Components theming
.ngm-theme-corporate {
  // @include mat.all-component-colors($thin-theme);
  @include ngm-mat-theme((
    color: mat.get-color-config($mat-theme-corporate),
    typography: null,
    density: null,
  ));
}
